import request from '@/utils/requestFlow'

export function pageRequest(data) {
  return request({
    url: '/api/case/documentRecord/page',
    method: 'post',
    data
  })
}
export function getTemplateData(data) {
  return request({
    url: '/doc/docTemplateInfo/getTemplateData?templateCode='+data,
    method: 'get'
  })
}
export function generatePdf(data) {
  return request({
    url: '/api/case/documentRecord/generatePdf',
    method: 'post',
    data
  })
}

